<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: apt_dir_layout.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_995e6b30ef7b7f0b2dec48039971ec97.html">apr-toolkit</a></li><li class="navelem"><a class="el" href="dir_af55bba262e1419c3a74fbffa32b25cc.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">apt_dir_layout.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Directories Layout.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="apt_8h_source.html">apt.h</a>&quot;</code><br/>
</div>
<p><a href="apt__dir__layout_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a264d05522363404fdafebf15046abd9e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a></td></tr>
<tr class="separator:a264d05522363404fdafebf15046abd9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a656b8e603d20211ec1c79cafcae3a792"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792">apt_dir_entry_id</a> { <br/>
&#160;&#160;<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792ad18cb8845b430ab688278f8753d4c6cb">APT_LAYOUT_CONF_DIR</a>, 
<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792ad733a999b2ced26490853761e3562213">APT_LAYOUT_PLUGIN_DIR</a>, 
<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792a7e32d33c646363c6e8031124d462e962">APT_LAYOUT_LOG_DIR</a>, 
<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792a9fe84ae5263b6cec56134573f31926bf">APT_LAYOUT_DATA_DIR</a>, 
<br/>
&#160;&#160;<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792a851669f0ce68c3b3b1e092a600ed069a">APT_LAYOUT_VAR_DIR</a>, 
<a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792a004ceb2a7c110b83951e4d69e7115b9a">APT_LAYOUT_DIR_COUNT</a>, 
<b>APT_LAYOUT_EXT_DIR</b> = APT_LAYOUT_DIR_COUNT
<br/>
 }</td></tr>
<tr class="separator:a656b8e603d20211ec1c79cafcae3a792"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3b4b9455279bfc0dc568854419802f33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a3b4b9455279bfc0dc568854419802f33">apt_default_dir_layout_create</a> (const char *root_dir_path, apr_pool_t *pool)</td></tr>
<tr class="separator:a3b4b9455279bfc0dc568854419802f33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72631889b934d3dfb7c7c70227f16ff0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a72631889b934d3dfb7c7c70227f16ff0">apt_custom_dir_layout_create</a> (const char *conf_dir_path, const char *plugin_dir_path, const char *log_dir_path, const char *data_dir_path, const char *var_dir_path, apr_pool_t *pool)</td></tr>
<tr class="separator:a72631889b934d3dfb7c7c70227f16ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07005bc9cb77e0b48b38f0f002ad2090"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a07005bc9cb77e0b48b38f0f002ad2090">apt_dir_layout_create</a> (apr_pool_t *pool)</td></tr>
<tr class="separator:a07005bc9cb77e0b48b38f0f002ad2090"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa6c099bf38d8de1f3ea2fa48a503c0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#afa6c099bf38d8de1f3ea2fa48a503c0a">apt_dir_layout_create_ext</a> (apr_size_t count, apr_pool_t *pool)</td></tr>
<tr class="separator:afa6c099bf38d8de1f3ea2fa48a503c0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef43bb677c9f47b73e7339be8206c26b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#aef43bb677c9f47b73e7339be8206c26b">apt_dir_layout_load</a> (<a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, const char *config_file, apr_pool_t *pool)</td></tr>
<tr class="separator:aef43bb677c9f47b73e7339be8206c26b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc76e81be8894a365aee35e8e42ea7b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#abc76e81be8894a365aee35e8e42ea7b4">apt_dir_layout_load_ext</a> (<a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, const char *config_file, const char **labels, apr_size_t count, apr_pool_t *pool)</td></tr>
<tr class="separator:abc76e81be8894a365aee35e8e42ea7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad362fb5aae2edb842e770c5431cfbeeb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#ad362fb5aae2edb842e770c5431cfbeeb">apt_dir_layout_path_set</a> (<a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, apr_size_t dir_entry_id, const char *path, apr_pool_t *pool)</td></tr>
<tr class="separator:ad362fb5aae2edb842e770c5431cfbeeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283e00e0a55c567c171543a7a9614475"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a283e00e0a55c567c171543a7a9614475">apt_dir_layout_path_get</a> (const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, apr_size_t dir_entry_id)</td></tr>
<tr class="separator:a283e00e0a55c567c171543a7a9614475"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8b36a9c9396e1982893f645d5c09685"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#aa8b36a9c9396e1982893f645d5c09685">apt_dir_layout_path_compose</a> (const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, apr_size_t dir_entry_id, const char *file_name, apr_pool_t *pool)</td></tr>
<tr class="separator:aa8b36a9c9396e1982893f645d5c09685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04035538cdbe8175077c85b10deefaea"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#a04035538cdbe8175077c85b10deefaea">apt_confdir_filepath_get</a> (const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, const char *file_name, apr_pool_t *pool)</td></tr>
<tr class="separator:a04035538cdbe8175077c85b10deefaea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add8b8d6d9e207983705265af9ff604c9"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#add8b8d6d9e207983705265af9ff604c9">apt_datadir_filepath_get</a> (const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, const char *file_name, apr_pool_t *pool)</td></tr>
<tr class="separator:add8b8d6d9e207983705265af9ff604c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adac1aa0c1d269c3a892cd686b0e64225"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apt__dir__layout_8h.html#adac1aa0c1d269c3a892cd686b0e64225">apt_vardir_filepath_get</a> (const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *dir_layout, const char *file_name, apr_pool_t *pool)</td></tr>
<tr class="separator:adac1aa0c1d269c3a892cd686b0e64225"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Directories Layout. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a264d05522363404fdafebf15046abd9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Directories layout declaration </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="apt__dir__layout_8h.html#a656b8e603d20211ec1c79cafcae3a792">apt_dir_entry_id</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enumeration of directories the layout is composed of </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792ad18cb8845b430ab688278f8753d4c6cb"></a>APT_LAYOUT_CONF_DIR</em>&#160;</td><td class="fielddoc">
<p>configuration directory </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792ad733a999b2ced26490853761e3562213"></a>APT_LAYOUT_PLUGIN_DIR</em>&#160;</td><td class="fielddoc">
<p>plugin directory </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792a7e32d33c646363c6e8031124d462e962"></a>APT_LAYOUT_LOG_DIR</em>&#160;</td><td class="fielddoc">
<p>log directory </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792a9fe84ae5263b6cec56134573f31926bf"></a>APT_LAYOUT_DATA_DIR</em>&#160;</td><td class="fielddoc">
<p>data directory </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792a851669f0ce68c3b3b1e092a600ed069a"></a>APT_LAYOUT_VAR_DIR</em>&#160;</td><td class="fielddoc">
<p>var directory </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a656b8e603d20211ec1c79cafcae3a792a004ceb2a7c110b83951e4d69e7115b9a"></a>APT_LAYOUT_DIR_COUNT</em>&#160;</td><td class="fielddoc">
<p>number of directories in the default layout </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a04035538cdbe8175077c85b10deefaea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* apt_confdir_filepath_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compose a file path relative to config dir. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">file_name</td><td>the file name </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a72631889b934d3dfb7c7c70227f16ff0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>* apt_custom_dir_layout_create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>conf_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>plugin_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>log_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>data_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>var_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a custom directories layout based on the specified individual directories. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">conf_dir_path</td><td>the path to the config dir </td></tr>
    <tr><td class="paramname">plugin_dir_path</td><td>the path to the plugin dir </td></tr>
    <tr><td class="paramname">log_dir_path</td><td>the path to the log dir </td></tr>
    <tr><td class="paramname">data_dir_path</td><td>the path to the data dir </td></tr>
    <tr><td class="paramname">var_dir_path</td><td>the path to the var dir </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="add8b8d6d9e207983705265af9ff604c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* apt_datadir_filepath_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compose a file path relative to data dir. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">file_name</td><td>the file name </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b4b9455279bfc0dc568854419802f33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>* apt_default_dir_layout_create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>root_dir_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create the default directories layout based on the specified root directory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">root_dir_path</td><td>the path to the root directory </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a07005bc9cb77e0b48b38f0f002ad2090"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>* apt_dir_layout_create </td>
          <td>(</td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a bare directories layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa6c099bf38d8de1f3ea2fa48a503c0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a>* apt_dir_layout_create_ext </td>
          <td>(</td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an extended bare directories layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>the number of directories in the layout </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef43bb677c9f47b73e7339be8206c26b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_dir_layout_load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>config_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Load directories layout from the specified configuration file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">config_file</td><td>the path to the configuration file </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abc76e81be8894a365aee35e8e42ea7b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_dir_layout_load_ext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>config_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&#160;</td>
          <td class="paramname"><em>labels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Load directories layout from the specified configuration file using the provided labels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">config_file</td><td>the path to the configuration file </td></tr>
    <tr><td class="paramname">labels</td><td>the array of directory labels (configuration entries) </td></tr>
    <tr><td class="paramname">count</td><td>the number of labels (normally equals the number of directories in the layout) </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa8b36a9c9396e1982893f645d5c09685"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* apt_dir_layout_path_compose </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>dir_entry_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compose a file path relative to the specified directory in the layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">dir_entry_id</td><td>the directory id (apt_dir_entry_id) </td></tr>
    <tr><td class="paramname">file_name</td><td>the file name to append to the directory path </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a283e00e0a55c567c171543a7a9614475"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* apt_dir_layout_path_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>dir_entry_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the path to the individual directory in the layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">dir_entry_id</td><td>the directory id (apt_dir_entry_id) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad362fb5aae2edb842e770c5431cfbeeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> apt_dir_layout_path_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>dir_entry_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the path to the individual directory in the layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">dir_entry_id</td><td>the directory id (apt_dir_entry_id) </td></tr>
    <tr><td class="paramname">path</td><td>the directory path </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adac1aa0c1d269c3a892cd686b0e64225"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* apt_vardir_filepath_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="apt__dir__layout_8h.html#a264d05522363404fdafebf15046abd9e">apt_dir_layout_t</a> *&#160;</td>
          <td class="paramname"><em>dir_layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compose a file path relative to var dir. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir_layout</td><td>the directory layout </td></tr>
    <tr><td class="paramname">file_name</td><td>the file name </td></tr>
    <tr><td class="paramname">pool</td><td>the memory pool to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
